package oop.day01;

public class TestPerson
{
    public static void main(String[] args)
    {
        Student student = new Student();
        student.name = "wa";
        student.say();

        Doctor doctor = new Doctor("wl",11,"bcd","Outer");
        doctor.cut();
        doctor.say();
        Nurse nurse = new Nurse("zh",24,"邢台市信都区钢铁大道",1);
        System.out.println(nurse.name);
        System.out.println(nurse.address);
        System.out.println(nurse.age);





    }
}
